new_game_btn_dom.onclick = ()=>{
    utils.display(input_nickname_modal_dom,'flex')
};
input_nickname_modal_dom.onclick = (event)=>{
    if (event.target === input_nickname_modal_dom){
        utils.display(input_nickname_modal_dom,'none')
    }
};
submit_input_btn_dom.onclick = (event)=>{
    let nickname_input = nickname_input_dom.value.trim();
    if (nickname_input === null || nickname_input === '')return utils.message('nickname cannot be empty');

    localStorage.setItem('current.nickname',nickname_input);
    window.location.href = './01_Level_Selection_Page.html'
};
